package com.qf.service;

import com.qf.pojo.DtsPermission;

import java.util.Set;

/**
 * @author ZhangYuJie
 * projectName:shop_manage
 * time:2022/5/16 16:57
 * description:
 */
public interface DtsPermissionService {
    Set<String> findPermByIds(Integer[] roleIds);

    Set<String> queryByRoleIds(Integer[] roleIds);

    boolean checkSuperPermission(Integer roleId);

    Set<String> queryByRoleId(Integer roleId);

    void deleteByRoleId(Integer roleId);

    void add(DtsPermission dtsPermission);
}
